package com.patrol.auth.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 宋灿
 * @version 1.0
 * @description: TODO
 * @date 2021/8/12 16:33
 */
@Data
@TableName(value = "admin_user")
public class AdminUser {
    @TableId(value = "userId", type = IdType.AUTO)
    private Integer userId;
    @TableField("username")
    private String username;
    @TableField("realName")
    private String realName;
    @TableField("password")
    private String password;
    @TableField("sex")
    private String sex;
    @TableField("img")
    private String img;
    @TableField("authority")
    private Integer authority;
    @TableField("email")
    private String email;
    @TableField("tel")
    private String tel;
}
